package thu.cs.segroup.entity;

import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Set;

public class TestSuite {

	private Queue<List> suite;
	private String name;
	private long changtime;
	private String next;
	
	public TestSuite() {
		suite = new LinkedList<List>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Queue<List> getSuite() {
		return suite;
	}
	
	public void addStep(ArrayList<String> set) {
		suite.add(set);
	}

	public long getChangtime() {
		return changtime;
	}

	public void setChangtime(long changtime) {
		this.changtime = changtime;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}
	
	public Queue getSteps() {
		return suite;
	}

	public void print() {
		for (Iterator iter = suite.iterator(); iter.hasNext();) {
			List lst = (List)iter.next();
			if (lst != null) {
				for ( int i = 0; i < lst.size(); i++) {
					System.out.print(lst.get(i));
					System.out.print(" ");
				}
				System.out.println();
			}
		} 
	}
	
	
}


